package com.ruoyi.operation.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * it值班检查任务任务业务对象
 *
 * @author chq
 * @date 2025-07-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TItdutytaskBo extends BaseEntity {

    /**
     * id
     */
    @NotBlank(message = "id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 业务系统
     */
    @NotBlank(message = "业务系统不能为空", groups = { AddGroup.class, EditGroup.class })
    private String busisystemid;

    /**
     * 任务类型
     */
    @NotBlank(message = "任务类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 任务名称
     */
    @NotBlank(message = "任务名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String taskname;

    /**
     * 任务步骤
     */
    @NotBlank(message = "任务步骤不能为空", groups = { AddGroup.class, EditGroup.class })
    private String taskstep;

    /**
     * 执行周期
     */
    @NotBlank(message = "执行周期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String period;

    /**
     * 开始执行时间
     */
    @NotNull(message = "开始执行时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date starttime;

    /**
     * 是否自动化
     */
    @NotBlank(message = "是否自动化不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isauto;

    /**
     * 描述
     */
    @NotBlank(message = "描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String memo;

    /**
     * 启用标志
     */
    @NotBlank(message = "启用标志不能为空", groups = { AddGroup.class, EditGroup.class })
    private String flag;


}
